package org.ricks.ioc.event;


/**
 * 延迟事件.
 * <p>
 * 在事件的基础上添加一个延迟执行的功能.<br>
 * <b>一定要重新HashCode和equals</b>
 */
public class DelayEvent implements IEvent {

    private final long delayTime;


    public DelayEvent(long delayTime) {
        this.delayTime = delayTime;
    }

    public long delayTime() {
        return delayTime;
    }
}